package jintian作业;

import java.util.Calendar;



public class test5 {
    public static void main(String[] args) {

        si1();
    }


    private static void si1() {
       Calendar c =Calendar.getInstance();
       c.set(2022,6,6);
       c.add(Calendar.DAY_OF_WEEK,-1);
       c.set(Calendar.DAY_OF_WEEK,5);
       System.out.println("是该年的第"+c.get(Calendar.DAY_OF_YEAR)+"天");

    }
}
